home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000155_news@columbia.edu _Tue Mar 5 20:13:04 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id UAA00394 for <kermit.misc@watsun>; Tue, 5 Mar 1996 20:13:04 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id UAA03641 for kermit.misc@watsun; Tue, 5 Mar 1996 20:13:01 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: macro to synchronize time
  8. Date: 6 Mar 1996 01:12:54 GMT
  9. Organization: Columbia University
  10. Lines: 24
  11. Message-ID: <4hioqm$3hl@apakabar.cc.columbia.edu>
  12. References: <4hgs4q$apa@bignews.shef.ac.uk>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <4hgs4q$apa@bignews.shef.ac.uk>,
  16. Earl H. Kinmonth <jp1ek@sunc.shef.ac.uk> wrote:
  17. : Does anyone have a macro that could be used with MsKermit 3.14 and
  18. : CKermit 190 to synchronize a pc clock to that of a UNIX machine?  I
  19. : have the MKS Toolkit on the PC if that makes it easier.
  20. C-Kermit 5A(190) in server mode with MS-DOS Kermit 3.14 as a client form
  21. a good pair.  In these versions, it is possible to pass variables back
  22. and forth.  Try it:
  23.  
  24.   remote query kermit time
  25.  
  26. This puts the current UNIX time into an MS-DOS Kermit variable,
  27. \v(query).  See KERMIT.UPD (DOS) or ckcker.upd (UNIX) for details about
  28. REMOTE QUERY, REMOTE ASSIGN, etc.
  29.  
  30. So the entire MS-DOS Kermit script would be:
  31.  
  32.   remote query kermit time
  33.   run time \v(query)
  34.  
  35. And it works just as well in the evening as in the morning :-)
  36.  
  37. - Frank